package com.sdutcm.health_bigdata_demo.dao;

import com.sdutcm.health_bigdata_demo.bean.Demand;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @author 小浩
 * @date 2018-09-23 10:32
 * @package com.sdutcm.health_bigdata_demo.dao
 * @description
 */
public interface DemandDao extends JpaRepository<Demand,Integer> {
    List<Demand> findAllByNameLikeOrDescribesLike(String key1,String key2);
}
